package com.zwk.nginxmanage.config;

import com.zwk.nginxmanage.entity.User;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

@ConfigurationProperties(prefix = "user")
@Component
@Data
public class UserConfig {
    private List<User> list;
}
